<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>index</title>
</head>
<body>
	index.html<br/>
	{$data['name']|strtoupper|str_replace='H','g',###}<br/>
	{$data['age']}<br/>
	{$data['sex']}<br/>
	{$data['username']|default='no username'}<br/>
	<compare name="data['age']" value="20" type="egt">
		大于20岁
		<else/>
		小于20岁
	</compare>
	<hr/>
	<for start="0" end="5" step="1">
		循环输出了{$i}次<br/>
	</for>
</body>
</html>